You can configure XPS to display some of the flex fields (on page 1) that you configure in N4. In XPS, most of these N4 flex fields are read-only. However, you can change the value of the following flex fields in the Container Modify dialog box.
ufvFlexString05: Corresponds to XPS USRJ field.
ufvFlexString06: Corresponds to XPS USRK field.
ufvFlexString07: Corresponds to XPS USRL field.
ufvFlexString08: Corresponds to XPS USRM field.
ufvFlexString09: Corresponds to XPS USRN field.
ufvFlexString10: Corresponds to XPS USRO field.
unitFlexString11: Corresponds to XPS USRE field.
unitFlexString12: Corresponds to XPS USRF field.
unitFlexString13: Corresponds to XPS USRG field.
unitFlexString14: Corresponds to XPS USRH field.
unitFlexString15: Corresponds to XPS USRI field.
If any of these fields are updated by N4 business logic, such as code extension (Groovy code) or a service event, then this affects when a flex field is changed. Therefore, do not make this field editable in XPS.
To display a flex field in XPS:
Vessel Visit flex fields are automatically mapped to XPS once they're configured in N4. There is no need to update the settings.xml or SPARCS Settings.txt files. For other flex fields, following the procedure below.
In the SPARCS settings.txt file, add the attribute associated with a flex field (on page 1) to the #ATTRIBUTE section.
For each flex field that you add to the SPARCS settings.txt file, you must specify:
Maximum number of characters
Whether the field is in use,
Long name
Short name
For example, to add the USR3 attribute (for unitFlexString03), you must add the following line:
USR3 5 Y Fragility Fragile
In the settings.xml file, add the XML tag associated with a flex field (on page 1) to define the maximum number of characters for each flex field.
For example, if you add the USR3 attribute (for unitFlexString03) to the SPARCS settings.txt file and specify the maximum number of characters as five, then you must add the following XML tag to the settings.xml file to define the maximum length for USR3 as five:
<customer:kCharsUser3>5</customer:kCharsUser3>
You do not have to define the maximum number of characters for the date flex fields, such as ufvFlexDate01.
Typically, Navis Professional Services personnel configure the settings.xml and SPARCS settings.txt files for your site.
Restart XPS for the changes to take effect.
Restarting XPS requires that you stop operations. Carefully schedule the time to minimize disruptions.
After you have configured XPS to display a flex field, you can add the flex field as a column to a container list (on page 1) or a filter dialog box (on page 1) in XPS. When adding a column to a container list, the flex fields are located in the following submenus:
Unit flex fields: Equipment submenu
Unit facility visit string flex fields: Other/Misc submenu
Unit facility visit date flex fields: Timestamp submenu